package com.yuan.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuan.dto.EmployeeDTO;
import com.yuan.dto.EmployeeLoginDTO;
import com.yuan.dto.EmployeePageQueryDTO;
import com.yuan.entity.Employee;
import com.yuan.result.PageResult;

public interface EmployeeService extends IService<Employee> {


    void saveSelf(EmployeeDTO employeeDTO);

    Employee login(EmployeeLoginDTO employeeLoginDTO);


    PageResult pageSelf(com.yuan.dto.EmployeePageQueryDTO dto);

    void startOrStop(Integer status, Long id);
}
